<?PHP
  $current_page = "index.php";
  $page_type = "";
  require_once 'header.php';
?>
	<div id="page">
	  <div id="page-padding">
        <!-- start content -->	    
	    <div id="content">
	      <div id="content-padding">
            <h1>Home Page</h1>
            <?php
              if (empty($_SESSION['user_id'])) {
                echo ("<p>Welcome Visitor!</p>");
              }
              else if (isset($_SESSION['aflag']) and $_SESSION['aflag'] == "y")
                echo "<p>Welcome Administrator!</p>";
              else if (isset($_SESSION['sflag']) and $_SESSION['sflag'] == "y")
                echo "<p>Welcome Stakeholder!</p>";
              else 
                echo "<p>Welcome Volunteer!</p>";
            ?>
	      </div>
		</div>
	  <!-- end content --></div>
	  <div id="footer">
	    <div id="footer-pad">
	      <div class="line"></div>
		  <!-- footer and copyright notice -->
	      <p>Design by <a href="http://www.steves-templates.com">Steve's free website templates</a>.</p>
		  <!-- end footer and copyright notice -->
	    </div>
	  </div>
	</div>
  </body>
</html>